package fr.upmc.aladyn.onloadreflect;
import javassist.*;

/**
 * Main method that applies saving and restoration of transactions by 
 * onload code injection using Javassist.
 * 
 * @author Thierry Wong
 * @author Seyyid ahmed Ouir 
 */
public class OnloadReflectMainTest {
	public static void main(String[] args) throws Throwable {

		Translator t = new MyTranslator() ;
		ClassPool pool = ClassPool.getDefault();
		Loader cl = new Loader(pool); 
		
		cl.addTranslator(pool, t);
		cl.run("fr.upmc.aladyn.manualreflect.Scenario", args);	
	}

}